package com.woniuxy.mesboot.service.impl;

import com.woniuxy.mesboot.dto.MesInspectionScheduleDTO;
import com.woniuxy.mesboot.mapper.MesInspectionScheduleMapper;
import com.woniuxy.mesboot.service.MesInspectionScheduleService;
import com.woniuxy.mesboot.vo.MesInspectionScheduleVO;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author ：lisir
 * @date ：Created in 2023/5/25 15:13
 * @description：TODO
 */
@Service
public class MesInspectionScheduleServiceImpl implements MesInspectionScheduleService {

    @Resource
    private MesInspectionScheduleMapper mesInspectionScheduleMapper;

    @Override
    public int insertSelective(MesInspectionScheduleDTO record) {
        return mesInspectionScheduleMapper.insertSelective(record);
    }

    @Override
    public int deleteByPrimaryKey(Long id) {
        return mesInspectionScheduleMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(MesInspectionScheduleDTO record) {
        return mesInspectionScheduleMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public MesInspectionScheduleVO selectByPrimaryKey(Long id) {
        return mesInspectionScheduleMapper.selectByPrimaryKey(id);
    }

    @Override
    public List selectAll() {
        return mesInspectionScheduleMapper.selectAll();
    }
}
